Optimal intrinsic descriptors for non-rigid shape analysis