Remove implementation files for the matrix template classes.