add matrix rotate