Updated failure checking
Updated regression.py