Performs Sympy calculations server-side.