Mathematical modeling of free-flooding anti-roll tanks