Added a first draft cubic solver.  It probably doesn't work yet.