calculating time between feedings