update maxfilter_function.py to new guidelines for ctc & sss
updated due to run