nanshe/advanced_image_processing.py: Flipped order.
nanshe/advanced_image_processing.py: Correct indices.