Added check for negative sample rates and help argument, as well as rena...

...med "camera" to "takeSample"