Refactored rotation matrix function into utils