New method pinpoints the 3D location of cold atoms in a latt