Starting documentation, and fixing long standing bug with changing data set on WAVE