Issues with steady state estimation

You are still using W in the second to last line.