Added network initialization with random weights