Improved the performance of mat4 multiply.