Diagonal matrix compliance tests
More scaling functions and tests
Merge branch 'master' of https://github.com/mikera/matrix-api.git