Differential Geometry Tools for Data Analysis