202 matrix range check

Added range checking for CRS and CCS Matricies. This should be the last bit to close #202.