I've been studying the Least Angle Regression algorithm and there is one thing that confuses me. The calculation it uses for the variable correlations just seems to be the product of the design matrix and the residuals. How is this simple calculation a correlation and why is this used instead of the usual correlation methods (ie Pearson)?