modification to svd_reconstruct.py