Title: Automatic control of submarine depth, pitch and trim