MemBrain Mapping the Bayesian Confidence Propagation Neural Network (BCPNN) Learning Rule to Memristors