added the modifications for the multiple demultiplexing case
added the modifications for the multiple demultiplexing case

BigelowLab/genologics,jwhite007/genologics,SciLifeLab/genologics,withrocks/genologics,Galithil/genologics,nsc-norway/genologics,senthil10/genologics