https://courses.grainger.illinois.edu/bioe476/fa2019/homeworks/BIOE 476_Fall 2019_HW4_w paper.pdf