Calculating Partial Pressure