A Mathematical Introduction to Data Science