Final changes

Added commandline arguments for numberOfSamples and timeBetweenSamples