The Elegant Math of Machine Learning