Histogram

Relates to #126. Adds `hist` method, equivalent to numpy version except without custom weights. It also has a simpler return type. I may change that last bit.