Intelligence based error detection and classification for 3D measurement systems of Intelligence based error detection and classification for 3D measurement systems