GENESIS: A System for Simulating Neural Networks