Error in Training feed forward neural network

I am trying to fit the model in feed forward neural network and I am getting a Value error : (Vectorized_NN section)

ValueError: not enough values to unpack (expected 18, got 9)

N/b link

In FFNN Scaler class, inside the fit function, you have initialized all the values using 9 broadcasted zeros.
It should have been 18.

Now i am getting ValueError

ValueError: matmul: Input operand 1 has a mismatch in its core dimension 0, with gufunc signature (n?,k),(k,m?)->(n?,m?) (size 2 is different from 1500)