Dataset.reduce methods

A first attempt at implementing Dataset reduction methods.  

#131