Fix division bug in aes.py