Simulating Neural Networks with Mathematica