Corrected repType for Sampled.  Now regression tests pass.

Also, removed a few more compiler warnings.