Add function that checks need for calibration
Add function that checks need for calibration

Calibration is performed when 3 consecutive samplesets have failed.
In this case, the calibration_wait period that is used when
initializing the sniffer is increased by 0.1 seconds

dimriou/rupture,dionyziz/rupture,esarafianou/rupture,dimriou/rupture,esarafianou/rupture,esarafianou/rupture,esarafianou/rupture,dimriou/rupture,dimriou/rupture,dionyziz/rupture,dionyziz/rupture,dimkarakostas/rupture,dimkarakostas/rupture,dimkarakostas/rupture,dionyziz/rupture,dimkarakostas/rupture,dionyziz/rupture,dimriou/rupture,dimkarakostas/rupture