src: added some files for CMatrixBlock
src: remove redundat code
lint: added files for linting pass
test: fixed a mistake