now displays derivative. press d or D to take derivative of best fit curve! TODO: allows for multikeypress 'd' + '1' or 'd'+ '2' key presses  to switch between modes of displaying the derivative, as a curve (1) or as a set of tangent lines on the curve of best PS (2)
takes derivative in update, atempted to draw tangent lines.. brb