events when interpolation data changes
nat cubic interpolation
setting steps for interpolation
interface for generating all points on curve
pre-computing points for the whole curve
tryin to fix precomputed interpolation
quasi newton for optimisation