changed BaseMultiLayerNetwork to use a member variable - MultiLayerNetworkOptimizer