Fix typo in PermutationMatrix (doc).
Fix typos in Ref.h (doc).
Fix more typos in Ref.h (doc).
Fix bug 850: workaround MSVC 2008 weird compilation bug