not sure if metropolis-hastings is implemented right?