Add Cubic Polynomial Solver.

Add Cubic Polynomial Solver.