Supplementary information for: H-Mem: Harnessing synaptic plasticity with Hebbian Memory Networks