Mathematical Tools for Data Science