Argument checking

Check arguments for negative values
times val needs to be a integer
sec val may be a integer or a float