everything working but eunit tests
minor tweaks to output of ops function, fixed inconsistent normalization