Added R-squared computation