Add exception handling to GentMcWilliams.py