changing the equation for pressure after discussion with Sylwester