Added quadratic solver