add averages over time. deal with unmeasured vials