calculate slope maps in x and y. return slope in x and y respectively. Set scale to (dx,dy,1000.) for z in micron, x,y in mm.
calculate_slope_2D()