transverse vs longitudinal wave simulation