Calculating Angular Frequency