What direction do the three different seismic waves travel?