Find the Y parameters for the network using a direct approach