about to pull from main branch; messed with svd stuff
Code is a mess.  Some cleanup is in order