nbOrder function

Determine Neighbourhood Order Matrix from Binary Adjacency Matrix