finished svd. FINISHED VERSION 1