https://courses.grainger.illinois.edu/bioe476/fa2019/Lectures/Lec11_Fa19_updated.pdf