gradient: Supporting function for the gradient computation.
Description
The gradient computation using a parallel application of the function G_fun_cpp
to a vector y, which is defined as a difference between a data sketch and
the decomposition sketch, i.e. \(SK - SK(D\cdot A)\).