Update reduction_methods.py