Software vastly improves the ability of ships to reroute through unpredictable weather