Split mathutil into mathutil, interpolation and transform.
Added transform and interpolation.