add nodedistance function in brainnet class