SVD and some any fixes

Begining to work on SVD. Still need to debug SVD