updated regression.py to fix typos