gfm.math.matrix.Matrix.ptr is now inout too.