Calculates soft bodies vertices