Simulating To Learn: Using Adaptive Simulation To Train, Test And Understand Neural Networks