Rename ols to ols_svd
Refactor test code to facilitate testing different implementations