Loss Compensation In A Plasmonic Nanoparticle Array