A novel maximum power point tracking algorithm for ocean wave energy devices