Optimizing Porous Materials For Electrochemical Applications