Accurate calculation of the density of proteins.