private void forkAndMutate(int network){
        NeuralNetwork tempNet=null;
        if(speciesMode){
            tempNet=currentSpecies.getIndividuals().get(network);
        }
        if(networkMode){
            if(network==0)
                tempNet=net;
            else
                tempNet=net2;
        }
        if(tempNet!=null)
            tempNet=tempNet.copyAndMutate();
        if(speciesMode){
            currentSpecies.getIndividuals().set(network,(SpeciationNeuralNetwork)tempNet);
        }
        if(networkMode){
            if(network==0)
                net=tempNet;
            else
                net2=tempNet;
        }
    }