Centralizing variables of the neural network

In order to facilitate the alterations during experimentation, the
variables used by the network were placed at the start of the file.