WIP. Two working versions of get point on curve.