Ranging in an underwater medium with multiple isogradient sound speed profile layers