Update metropolis.py

Updated docstring in metropolis, fixes #260