transformMatrix now has a return value