optimised approach to compute isDiagonal and isRectangularDiagonal using
zero range checks
extra docs
Merge branch 'develop' of https://github.com/mikera/vectorz.git into develop