Documentation build warning fixes.

Invalid links and refences fixed.
SpaeseMat class documentation updated.