mat -> util and misc cleanup
Merge pull request #1 from smichr/mutil

mat -> util and misc cleanup