added exception to a matlab method and refined logic based on size1 and size2
added exception to a matlab method and refined logic based on size1 and size2
lheric/bct-cpp,jjurgiel/bct-cpp,devuci/bct-cpp,Beastmaster/bct-cpp,curibe/bct-cpp,curibe/bct-cpp,jjurgiel/bct-cpp,lheric/bct-cpp,lheric/bct-cpp,devuci/bct-cpp,curibe/bct-cpp,lheric/bct-cpp,Beastmaster/bct-cpp,Beastmaster/bct-cpp,devuci/bct-cpp,jjurgiel/bct-cpp,curibe/bct-cpp,devuci/bct-cpp,jjurgiel/bct-cpp,Beastmaster/bct-cpp