Python 3 update of pyaiml