Supporting Information for "Efficient Training of the Memristive Deep Belief Net Immune to Non-Idealities of the Synaptic Devices"