Reset lastTimestamp before processing new sample