better example of how to strip off last row of matrix data.