Tmax and pmax EOS

Changed Tmax and pmax to the EOS.