Python Calculate R Squared Value Range