adding interpolator and quaternion class