pmParser.pl: Fixed time counting to round to the half hour based on difference with last timestamp instead of the first timestamp.