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