Building a better battery with machine learning and artificial intelligence