One Dimensional Computer Modeling Of A Lithium-Ion Battery