Numerical Studies of Wave Trajectories and Electron Cyclotron Heating in Toroidal Plasmas