added transforms module, distortion module, and fitting module to refactor