Added expression parsing library
Changed how 'smooth' the function draws based on the xmax and xmin of the panel