Failed attempt at multithreading

Tried replacing every ForEach in the NeuralLayer class with
Parallel.ForEach. Unfortunately, there were problem with trying to
access the log file from multiple threads.

This can *probably* be rectified, but the simplest way would be to
remove file logging. Not something I want to do right now.