Require result parameter: Matrix2, Matrix3, Matrix4

For #1161 
Can you change this to be a scratch as well?