add matrix transform