Minor changes to gaussian filter