A thermal diode and novel implementation in a phase-change material | Synapse