stability calculation of ship - Search