Terrestrial Laser Scanning for Preserving Cultural Heritage: Analysis of Geometric Anomalies for Ancient Structures