halfway through work on svd
more progress on svd