fix bug https://savannah.cern.ch/bugs/?87251 in TMath::Quantiles
fix bug https://savannah.cern.ch/bugs/?87251 in TMath::Quantiles

 - reimplement the method following R impelmentation. This fixes also the case for type =3, 
 where a different result was returned


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@41830 27541ba8-7e3a-0410-8455-c3a389f83636

0x0all/ROOT,0x0all/ROOT,jrtomps/root,mkret2/root,davidlt/root,CristinaCristescu/root,davidlt/root,omazapa/root-old,kirbyherm/root-r-tools,Dr15Jones/root,gganis/root,karies/root,mhuwiler/rootauto,nilqed/root,sbinet/cxx-root,pspe/root,strykejern/TTreeReader,ffurano/root5,gganis/root,zzxuanyuan/root-compressor-dummy,mhuwiler/rootauto,tc3t/qoot,bbockelm/root,buuck/root,mattkretz/root,beniz/root,mattkretz/root,agarciamontoro/root,omazapa/root,gganis/root,olifre/root,krafczyk/root,mkret2/root,buuck/root,Duraznos/root,sbinet/cxx-root,beniz/root,BerserkerTroll/root,esakellari/root,sirinath/root,root-mirror/root,davidlt/root,cxx-hep/root-cern,Y--/root,simonpf/root,Y--/root,kirbyherm/root-r-tools,mkret2/root,omazapa/root-old,vukasinmilosevic/root,sbinet/cxx-root,smarinac/root,veprbl/root,omazapa/root-old,bbockelm/root,sawenzel/root,nilqed/root,beniz/root,evgeny-boger/root,perovic/root,satyarth934/root,perovic/root,jrtomps/root,nilqed/root,mattkretz/root,lgiommi/root,alexschlueter/cern-root,root-mirror/root,tc3t/qoot,Y--/root,vukasinmilosevic/root,alexschlueter/cern-root,Dr15Jones/root,tc3t/qoot,lgiommi/root,omazapa/root-old,mhuwiler/rootauto,evgeny-boger/root,Y--/root,CristinaCristescu/root,abhinavmoudgil95/root,0x0all/ROOT,georgtroska/root,Y--/root,esakellari/my_root_for_test,root-mirror/root,sirinath/root,buuck/root,zzxuanyuan/root,davidlt/root,Y--/root,krafczyk/root,sirinath/root,gganis/root,georgtroska/root,thomaskeck/root,Dr15Jones/root,zzxuanyuan/root,esakellari/root,veprbl/root,CristinaCristescu/root,sawenzel/root,jrtomps/root,bbockelm/root,smarinac/root,davidlt/root,esakellari/root,arch1tect0r/root,vukasinmilosevic/root,CristinaCristescu/root,nilqed/root,olifre/root,gganis/root,thomaskeck/root,karies/root,dfunke/root,olifre/root,agarciamontoro/root,thomaskeck/root,davidlt/root,smarinac/root,krafczyk/root,esakellari/my_root_for_test,bbockelm/root,zzxuanyuan/root,ffurano/root5,sawenzel/root,Duraznos/root,esakellari/my_root_for_test,krafczyk/root,sbinet/cxx-root,buuck/root,lgiommi/root,Dr15Jones/root,Duraznos/root,lgiommi/root,olifre/root,mattkretz/root,dfunke/root,georgtroska/root,abhinavmoudgil95/root,pspe/root,gganis/root,alexschlueter/cern-root,krafczyk/root,bbockelm/root,vukasinmilosevic/root,evgeny-boger/root,tc3t/qoot,omazapa/root,kirbyherm/root-r-tools,olifre/root,evgeny-boger/root,krafczyk/root,gbitzes/root,kirbyherm/root-r-tools,beniz/root,karies/root,gbitzes/root,ffurano/root5,sawenzel/root,buuck/root,simonpf/root,0x0all/ROOT,zzxuanyuan/root-compressor-dummy,CristinaCristescu/root,omazapa/root,bbockelm/root,abhinavmoudgil95/root,esakellari/root,nilqed/root,Duraznos/root,karies/root,alexschlueter/cern-root,smarinac/root,ffurano/root5,satyarth934/root,esakellari/my_root_for_test,gbitzes/root,omazapa/root,CristinaCristescu/root,gbitzes/root,mhuwiler/rootauto,thomaskeck/root,zzxuanyuan/root-compressor-dummy,arch1tect0r/root,zzxuanyuan/root,karies/root,tc3t/qoot,sirinath/root,esakellari/root,sirinath/root,mattkretz/root,BerserkerTroll/root,pspe/root,smarinac/root,alexschlueter/cern-root,cxx-hep/root-cern,gganis/root,buuck/root,Dr15Jones/root,sbinet/cxx-root,mkret2/root,beniz/root,Duraznos/root,beniz/root,zzxuanyuan/root-compressor-dummy,satyarth934/root,omazapa/root,agarciamontoro/root,evgeny-boger/root,perovic/root,dfunke/root,bbockelm/root,dfunke/root,root-mirror/root,evgeny-boger/root,pspe/root,zzxuanyuan/root-compressor-dummy,tc3t/qoot,karies/root,omazapa/root,root-mirror/root,pspe/root,georgtroska/root,nilqed/root,sirinath/root,gganis/root,lgiommi/root,vukasinmilosevic/root,beniz/root,nilqed/root,bbockelm/root,sirinath/root,strykejern/TTreeReader,arch1tect0r/root,tc3t/qoot,esakellari/root,sawenzel/root,vukasinmilosevic/root,sbinet/cxx-root,georgtroska/root,veprbl/root,esakellari/root,simonpf/root,cxx-hep/root-cern,mkret2/root,buuck/root,veprbl/root,mhuwiler/rootauto,cxx-hep/root-cern,esakellari/my_root_for_test,esakellari/root,buuck/root,veprbl/root,mattkretz/root,omazapa/root,zzxuanyuan/root-compressor-dummy,esakellari/my_root_for_test,omazapa/root,buuck/root,simonpf/root,bbockelm/root,esakellari/root,sirinath/root,veprbl/root,omazapa/root-old,arch1tect0r/root,arch1tect0r/root,veprbl/root,kirbyherm/root-r-tools,gbitzes/root,thomaskeck/root,abhinavmoudgil95/root,dfunke/root,simonpf/root,mhuwiler/rootauto,sawenzel/root,lgiommi/root,nilqed/root,cxx-hep/root-cern,perovic/root,olifre/root,davidlt/root,georgtroska/root,jrtomps/root,mkret2/root,abhinavmoudgil95/root,sirinath/root,vukasinmilosevic/root,agarciamontoro/root,thomaskeck/root,sirinath/root,perovic/root,Duraznos/root,mkret2/root,karies/root,buuck/root,thomaskeck/root,krafczyk/root,0x0all/ROOT,ffurano/root5,satyarth934/root,olifre/root,perovic/root,evgeny-boger/root,root-mirror/root,mattkretz/root,dfunke/root,veprbl/root,georgtroska/root,zzxuanyuan/root,mkret2/root,bbockelm/root,abhinavmoudgil95/root,sbinet/cxx-root,tc3t/qoot,sawenzel/root,pspe/root,omazapa/root-old,arch1tect0r/root,vukasinmilosevic/root,zzxuanyuan/root-compressor-dummy,beniz/root,satyarth934/root,mkret2/root,sawenzel/root,pspe/root,abhinavmoudgil95/root,zzxuanyuan/root,Y--/root,dfunke/root,smarinac/root,karies/root,0x0all/ROOT,CristinaCristescu/root,mhuwiler/rootauto,karies/root,perovic/root,zzxuanyuan/root,buuck/root,cxx-hep/root-cern,mhuwiler/rootauto,zzxuanyuan/root-compressor-dummy,abhinavmoudgil95/root,agarciamontoro/root,sawenzel/root,smarinac/root,lgiommi/root,strykejern/TTreeReader,jrtomps/root,lgiommi/root,root-mirror/root,dfunke/root,ffurano/root5,omazapa/root,nilqed/root,BerserkerTroll/root,sbinet/cxx-root,thomaskeck/root,gbitzes/root,jrtomps/root,omazapa/root-old,abhinavmoudgil95/root,zzxuanyuan/root-compressor-dummy,thomaskeck/root,zzxuanyuan/root,pspe/root,omazapa/root-old,krafczyk/root,agarciamontoro/root,thomaskeck/root,esakellari/my_root_for_test,vukasinmilosevic/root,pspe/root,zzxuanyuan/root,abhinavmoudgil95/root,arch1tect0r/root,root-mirror/root,olifre/root,satyarth934/root,perovic/root,agarciamontoro/root,tc3t/qoot,root-mirror/root,jrtomps/root,mkret2/root,nilqed/root,krafczyk/root,gbitzes/root,agarciamontoro/root,gganis/root,jrtomps/root,sirinath/root,lgiommi/root,satyarth934/root,simonpf/root,BerserkerTroll/root,ffurano/root5,BerserkerTroll/root,jrtomps/root,zzxuanyuan/root,evgeny-boger/root,lgiommi/root,kirbyherm/root-r-tools,root-mirror/root,vukasinmilosevic/root,gbitzes/root,georgtroska/root,agarciamontoro/root,smarinac/root,sawenzel/root,sawenzel/root,satyarth934/root,evgeny-boger/root,satyarth934/root,pspe/root,karies/root,gbitzes/root,jrtomps/root,vukasinmilosevic/root,davidlt/root,smarinac/root,BerserkerTroll/root,Duraznos/root,Y--/root,dfunke/root,CristinaCristescu/root,perovic/root,Y--/root,beniz/root,gbitzes/root,satyarth934/root,olifre/root,zzxuanyuan/root-compressor-dummy,evgeny-boger/root,sbinet/cxx-root,smarinac/root,alexschlueter/cern-root,0x0all/ROOT,simonpf/root,CristinaCristescu/root,georgtroska/root,root-mirror/root,olifre/root,dfunke/root,esakellari/my_root_for_test,mhuwiler/rootauto,sbinet/cxx-root,Dr15Jones/root,BerserkerTroll/root,veprbl/root,arch1tect0r/root,BerserkerTroll/root,esakellari/root,krafczyk/root,veprbl/root,olifre/root,jrtomps/root,cxx-hep/root-cern,alexschlueter/cern-root,krafczyk/root,agarciamontoro/root,nilqed/root,gbitzes/root,strykejern/TTreeReader,arch1tect0r/root,davidlt/root,gganis/root,mattkretz/root,strykejern/TTreeReader,0x0all/ROOT,perovic/root,mhuwiler/rootauto,CristinaCristescu/root,arch1tect0r/root,simonpf/root,Dr15Jones/root,BerserkerTroll/root,davidlt/root,Duraznos/root,beniz/root,mkret2/root,bbockelm/root,simonpf/root,Duraznos/root,dfunke/root,sbinet/cxx-root,agarciamontoro/root,omazapa/root,zzxuanyuan/root,simonpf/root,Y--/root,abhinavmoudgil95/root,pspe/root,strykejern/TTreeReader,BerserkerTroll/root,mattkretz/root,perovic/root,lgiommi/root,georgtroska/root,omazapa/root-old,mhuwiler/rootauto,arch1tect0r/root,satyarth934/root,Y--/root,strykejern/TTreeReader,beniz/root,kirbyherm/root-r-tools,gganis/root,BerserkerTroll/root,omazapa/root-old,0x0all/ROOT,zzxuanyuan/root-compressor-dummy,Duraznos/root,simonpf/root,CristinaCristescu/root,davidlt/root,esakellari/my_root_for_test,omazapa/root-old,tc3t/qoot,evgeny-boger/root,zzxuanyuan/root,Duraznos/root,georgtroska/root,karies/root,esakellari/root,cxx-hep/root-cern,mattkretz/root,omazapa/root,mattkretz/root,veprbl/root,esakellari/my_root_for_test