Hurricane Matthew moves through Caribbean