PINV, working with circle and network graphs