edits to filter model (not yet used)
scalar and 1d filters working again. 2d filters not working yet