Comparison of calculations for interplanar distances in a crystal lattice