Mathews century sets up Sri Lanka

Angelo Mathews scored a century for Sri Lanka as they finished with a 241-run lead against Pakistan on the fourth day.