Gravar-mail: Optimization of Layered Cathode Materials for Lithium-Ion Batteries