adding function to sample points from em density