Fixed problem with Python CompassCalMax