transverse vs longitudinal waves simulation