A small set of functions for working with demographic data matrices and for plotting them