D braided yarns to create electrochemical cells