sim_basis_tqn function

Simulate a basis file using TARQUIN.