fixed some bug in computation of acceptance probability in MetropolisHastings, now works with restrained value ranges too. Also changed sample_local in continuous node to direct sampling so there is no rejection sampling anymore