Towards Morse theory for point cloud data.