Issue #12 fixed - map now determines its dimensions from the size of the data array passed to it.