fix metropolis hastings for the (hopefully rare) case where parameters hit the edge of the upper and lower bounds
fix metropolis hastings for the (hopefully rare) case where parameters hit the edge of the upper and lower bounds

visionlab/MemToolbox