The Neighbor Matrix: Generalizing the Degree Distribution