modified y-axis (still does not work) and added CustomQuadraticFunction class