Fixes several matrix iterator bugs

Corrects translation, scaling, and rotation transformation matrices