A Stability And Control System For A Hexapod Underwater Robot