The algorithm helps detect and prevent extreme parametric rolling, which will reduce the risk of accidents at sea.