Mathews ton lifts Sri Lanka to 229-4 on day one of second England Test