Fixes

Added multipage support
Fixed .ravel vs. .flatten in heatmap.
Added documentation