Computation of power from an array of wave energy converters using a boundary element method