Use same parameters when solving the transform
Use scipy.nnls.optimize for dense data