Added getMaxSliceLength which can estimate the maximum size of a slice in a given dimension that would fit in memory.
Fix to javadoc
Moved method to lazy dataset interface to support loading compound
datasets
Added exception message
Fixed bits/bytes bug and added compound dataset support