How Artificial Intelligence is improving the efficiency and control of solar energy