fixed whitespace, added Clamp method
updated Image class (and tests) to include multiple samples