My matrix class