what were the pyramids used for electricity