Adding Metropolis sampling from base probabilistic image

Borrowed concept from Metropolis Light Transport paper.
`image.py` had small bug where, if # of sample points was zero, it'd
divide by zero.