Nonparametric Data Analysis On Manifolds With Applications In Medical Imaging