Regression, least squares, and the general version of inclusive fitness