Update Utilities.py

Added R^2 function