approximate compression using SVD programmed