Properties of the generalised inverse matrix in the electrical-network problem