fixed transformation matrix order of operations