Modeling The Prussian Blue Analogs From First Principles For Battery Applications