corrected evaluate method and graphing