Enhanced python file to extract the average of milliseconds between lectures of the sensors in Arduino