extending the script for the SVD implementation