Update comper.py

Added more math stuff