added maxfilter_function.ipy