Calculation of the Entropies of Lattice Defects