https://github.com/aleksandarhaber/disciplined-python-implementation-of-the-recursive-least-squares-method