Modal Analysis of Guided Waves and Its Application to Rail Inspection