added attempt at using a continuous pdf in 2D