Add duration matrix