Added variation docstrings.
Updated docstrings, fixed histogram to work.