A computationally efficient implementation of a full and reduced-order electrochemistry-based model for Li-ion batteries. (15th December 2017)