Updated the header and the histogram to be suitable for this module
Loop through and calculate time differences. Currently this makes alcapana very slow so I will try and optimise this module now