refactored to avoid second loop in explicit queen or rook check
refactored to avoid second loop in explicit queen or rook check

jlaura/pysal,schmidtc/pysal,sjsrey/pysal_core,darribas/pysal,ljwolf/pysal_core,darribas/pysal,badjr/pysal,ljwolf/pysal_core,jlaura/pysal,spreg-git/pysal,pastephens/pysal,spreg-git/pysal,TaylorOshan/pysal,TaylorOshan/pysal,ljwolf/pysal,pysal/pysal,dfolch/pysal,jlaura/pysal,hasecbinusr/pysal,lanselin/pysal,sjsrey/pysal,nathania/pysal,badjr/pysal,sjsrey/pysal_core,chhao91/pysal,chhao91/pysal,lixun910/pysal,weikang9009/pysal,ljwolf/pysal,pastephens/pysal,TaylorOshan/pysal,schmidtc/pysal,pedrovma/pysal,dfolch/pysal,sjsrey/pysal_core,hasecbinusr/pysal,pastephens/pysal,lixun910/pysal,hasecbinusr/pysal,ljwolf/pysal_core,lixun910/pysal,ljwolf/pysal,nathania/pysal