Fix bug in sparse documentation.
Fix unresolved typename bug for MSVC