Propagation of internal waves up continental slope and shelf