Create file for physics-related functions. Add angular velocity calculation.