Matthew becomes a major hurricane