Control of altitude or depth {specially adapted for aircraft to counteract a perturbation, e.g. gust of wind}