Thomas-Fermi density calculations