Continued work on basic_mat.hpp