Analysis of an in-plane electromagnetic energy harvester with integrated magnet array