Change SVD decomposition to return a vector of singular values instead of matrix