3D Shape Analysis using Persistent Homology