Added a,b,c terms explicitly to call to quadratic func