Implemented and debugged LAPACK implementation of singular value thresholding