Gravar-mail: Optimizing performance of rechargeable lithium-ion batteries through computer simulations