Fix Math Processing Error with ApplyFunction (issue 410)
Merge remote-tracking branch 'fred/issue410' into develop

Resolves issue #410