Mathematical modelling of catamaran hydromechnics and seakeeping