add generic rank() function for matrices
obvious rank overrides
extra rank() override
Refactor matrix testing
VectorMatrix optimisations
StridedVector add tests
sparse matrix optimisation
sparse matrix tests and enhancements
extra checkIndex methods
smarter index checks
Make ImmutableMatrix data final
misc edits
misc edits