longitudinal vs transverse wave simulation