modified to get correct interpolated routine in curve and changed test cases to reflect new beziers