Removed unused pressure calculation.