Use S3 methods in pls.  Condense calculations a bit.
Merge pull request #1 from lme4/db/obfuscating

Use S3 methods in pls.  Condense calculations a bit.