Create terrain control points function takes 5 numbers for the curves formula