Clean-up + add rudimentary currying functionality to the gaussian filter