implemented DataSet.set_window.  Closes #290