The neural network now supports hidden layers and runs paralelised.