Added functions "diff"&"integral";renamed "diff1&2" to "extrema"&"extremaXY"

"diff" now calculates the differential, "integral" the integral while "extrema" and "extremaXY" look for local minima & maxima.