Added major fixes

Now cubic curves render properly