Source: https://stanfordasl.github.io/aa274a/pdfs/notes/lecture2.pdf