cleaning up arange, adding tolerance
fixing sum, adding matrix norm
preparing to merge
Merge branch 'dev'