Changed LSA to automatically cut the number of dimensions to number of documents if configured to be greater. This prevents a correct but confusion out of bounds exception for small document collections.
Changed LSA to automatically cut the number of dimensions to number of documents if configured to be greater. This prevents a correct but confusion out of bounds exception for small document collections.

Also introduced a constructor to check some of these invariants early on without having to open and reopen filesystem resources.

git-svn-id: 08ea2b8556b98ff0c759f891b20f299445ddff2f@662 483481f0-a63c-0410-a8a8-396719eec1a4

svn2github/semanticvectors,tuxdna/semanticvectors-googlecode,svn2github/semanticvectors,svn2github/semanticvectors,tuxdna/semanticvectors-googlecode,svn2github/semanticvectors,tuxdna/semanticvectors-googlecode,tuxdna/semanticvectors-googlecode