Documentation build warning fixes

Invalid links and references fixed.
SparseMat class documentation updated.