Basic working HMC implementation (w00t)