# Compute pseudo-inverse mInv = np.dot(np.transpose(V), np.dot(d, np.transpose(U)))