Karl Pearson F.R.S (1901) ‘LIII. On lines and planes of closest fit to systems of points in space’, The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science, 2(11), pp. 559–572. doi: 10.1080/14786440109462720. [link]