Added max/min Exception raise to gaussian_filter