A nonadiabatic semi-classical method for dynamics of atoms in optical lattices