martin code in construct_rs;
order no longer a parametr
working on mse, included lophaven but I still get negative values so it isnt working well with the normalize function I have
lophaven is WORKING! MSE WORKS. OMG.
finally decided to stick with lophaven, modified normalize