build  svd from scratch

build  svd from scratch