fix bugs with curve rendering
curves are rendering better, but curves with two points and S-curves look like straight lines
everything more or less working with using catmull-rom for curves
clean up code and fix bugs regarding points for elbow and curve edges