Statistical geometry: A tool for pattern analysis