Added a wrapper function to the fastest submatrix query implementation.