long wave theory