An Ultrasonic Phased Array System for Defect Classification and Reconstruction