implement Dataset class with filter function to wrap matlab data