Coupled dynamics of a flapping foil wave powered vessel