Removed line that made draw calls flat on z
Curves now render properly given they are sorted by x coordinate
TODO: solve the crash when points aren't sorted
Added new error for curve declaration
Merge branch added curves and graphics bug fix