Design Wave analysis of the M4 wave energy converter device