Methodology to Calculate the ACE and HPQ Metrics Used in the Wave Energy Prize