remove forward StateMatrix in state_matrix.hpp