Getting bonacich values from network. Minor fixes along the way.