finished equaiton of state stuff