Added min and max functions to expression parser