Add function to turn timedelta object into miliseconds
Output simple time measurements in debug mode