Update Utilities.py

Added R^2 function
Merge pull request #1 from wheeleme/patch-1

Update Utilities.py for Margaret's RSQ Patch.