202 matrix range check

Added range checking for CRS and CCS Matricies. This should be the last bit to close #202.
Something wrong with indentation. Use 4 spaces.