Controlling depth, speed and trim.
http://www.subasekb.navy.mil/trfpage.htm
http://www.subasekb.navy.mil/trfo.htm