Python Calculate R Squared Value Close