optimize Matrix4.compose to remove temporaries and unnecessary matrix multiplication.