Source: https://www.colby.edu/chemistry/PChem/notes/linest.pdf