Added generated Scaladoc.
Updated documentation for Matrix.