Math Foundations for Machine Learning