network.addLayer(new BasicLayer(null,true,200));
network.addLayer(new BasicLayer(new ActivationSigmoid(),true,200));
network.addLayer(new BasicLayer(new ActivationSigmoid(),true,200));
network.addLayer(new BasicLayer(new ActivationSigmoid(),false,200));
network.getStructure().finalizeStructure();
network.reset();
EncogDirectoryPersistence.saveObject(EG_FILENAME, network);
BasicNetwork network2 = (BasicNetwork)EncogDirectoryPersistence.loadObject(EG_FILENAME);
double d = EngineArray.euclideanDistance(network.getStructure().getFlat().getWeights(),