A Smart Grid Primer: Complex and Costly, but Vital to a Warming World