added sources for HMC simulations
added the mex models for HMC simulations