First pass at FilterActs grad method + tests. Requires Theano hack.