Add support for symbolic constants that are recognised by sympy. Closes #197