Changed some variables names to reflect previous changes.
Streamlined interpolation.
Added support for CGVector.