Create matrix_query.h