Change the coordinate of nodes to numpy array

The ``coord`` attribute of both the raw nodes and the nodes in the
network has been change from a plain pair of floats to a numpy array to
avoid repetitive casting in distance computation.