Add old cubic solver code for comparison, and use console.log() in Curve.solveCubic() to log values with different results.