updated documentation
fixed computing min/max for time based datasets. added tests
checks for empty input dataset
fixed min/max in time row instance, added tests and documentation