Calculating Event Times and Critical Path