Fixed bug solving quadratics.