Fixing warnings.

This includes a potential bug fix in FactorSVD, where getRank() const was not
properly overriden.