An Ultrasonic Technique for the Measurement of Residual Stress