Index-based triangulation method for efficient generation of large three-dimensional ultrasonic C-scans