update maxfilter_function.py
updated maxfilter_function.py