Automatic Registration of Ultrasound Images with Wire-Frame CAD Models