Partition coefficient and concentration calculations