#1285 Moved transpose wrapper to generic_matrix_tools.hpp
#1285 Refactored, moved mul to generic_matrix_tools.hpp
#1285 Moved det, inv, adj, getMinor, cofactor to generic_matrix_tools.hpp