The ocean has huge potential to produce renewable energy – and there's now a way to overcome some of the problems traditionally associated with wave power.