Added code to do bezier interpolation - not working yet