Added check for negative sample rates and help argument, as well as renamed "camera" to "takeSample"