Micro-optimization to Matrix2