Code written for the "Probabilistic Foundations of Machine Learning" math class at BYU