Deformation and failure of lithium-ion batteries treated as a discrete layered structure. (October 2019)