Added little script to check matrix size