remove agrad/matrix.cpp and math/matrix.cpp
fix a typo in the doc