removed dependency on sympy - was essentially pointless