added another mapping fn a-la map-reduce
added functions to gather the probabiltities from the text (for POS)
added proper-matrix macro