Added support for predefined constants e and pi and for squareroot and logarithms.