Compute the least square fitting for a function of two variables and also the coefficient of determination (R**2).