Modeling and Mechanistic Study of Co and Co-Pt Nanowire Electrodeposition in Nanoscale Confinement | Synapse