Added simulation code to assist in running hebbian simulations efficiently.