matrix.h v2.0

next version of matrix.h