compose matrix node