getState for DataSet

Added a getState function for DataSet. https://github.com/KSHSK/WAVED/issues/96