Calculate Speed Of Waves