Small program to find the Mean Manhatten distance of a csv matrix of 0's and 1's and matlab interface to use it to calculate a precision metric for a matrix (as we are doing). Most interesting for the useful pieces of code that make up the generic databuffer and buffered input.