Reducing variability in the cost of energy of ocean energy arrays