[outperm,rawindex,allperms,index] = order(targlin(15),targlin(15),randperm(15),3);

matcolor(targlin(15),allperms,index)