omg got that cubic curve working
broke out some syntax to try and pass the 1.8.7 test