Adding more verbose assertion messages to matrix_impl.hpp