add curve_xyza and deriv_{x,y,z,a} on compile()
added text input for curve string