support for math filters, refs #56