Fixed some more critical bugs in new EoS, seems to work now. More tests needed