JavaDoc documentation style

Implemented for Matrix.java