Non-Hamiltonian molecular dynamics implementation of the Gibbs ensemble method. I. Algorithm - Bratschi, Christoph; Huber, Hanspeter (The Journal of chemical physics, 2007)