#3822 Changes to FunctionAux to make it work with higher order elemental varia...

...bles