Refactor BEE::readMask and readSimmat to a common readMat function

Since .mtx files include a matrix type in their header, we don't really need
separate functions to read similarity matrices and masks.

This drops special case support for creating identity matrices via readSimmat
and readMask (since in that case, there is no actual header to read to get a
matrix type).