modified svd truncated decomposition so used dense matrix (single precision sparse matrices are not supported in MATLAB)