Updated iMaze.py and imageprocessing.py