Effects of longshore shelf variations on barotropic continental shelf waves, slope currents and ocean modes