delta calculator for 2D on sympy