Merge "Better support for rotation and perspective matrices."