Require result parameter: Matrix2, Matrix3, Matrix4

For #1161