added code for gaussian x and y force and to test transverse stability