Move initializeNetwork() into the initialize() call. This gives more
control for the user to decide, when to initialize the whole network.
(especially useful when unknown hidden- and output
layers are added to the framework).