removes useless banner
improves sanity check
adds functions for getting submatrices of a matrix