Added an element argument to num_neighbors that enables the counting of pores OR throats.  Kinda works.
Added an element argument to num_neighbors that enables the counting of pores OR throats.  Kinda works.

PMEAL/OpenPNM,TomTranter/OpenPNM,stadelmanma/OpenPNM