1. A reconfigurable device comprising: a first magnetic element comprising a ferromagnetic pinned layer, a ferromagnetic free layer, and a non-magnetic barrier layer therebetween, the free layer having a magnetization orientation switchable by spin torque; a second magnetic element connected in series to the first magnetic element with a spacer layer therebetween, the second element comprising a second ferromagnetic pinned layer, a second ferromagnetic free layer, and a second non-magnetic barrier layer therebetween, the second free layer having a magnetization orientation switchable by spin torque; a first input current path and a second input current path into and through the first and second magnetic elements that provide a flow of electrons through the first magnetic element and the second magnetic element; and a resistance sensing circuit electrically connected to the first magnetic element and the second magnetic element.