fixed a bug with the end point stuff
got rid of the debug messages
removed fixed values for control points