Theoretical studies of time-of-flight and atom and molecular surface collision