parallel tempering implemented