How calcareous layers affect ultrasonic thickness gaging