Separated position calculating functions
Merge remote-tracking branch 'origin/vector-cubic-bezier' into private-master