The application of system identification to dynamics of naval craft