implemented naive gaussian filter