Tile generator node (plus DDX DDY correction)

Hi, I recently made a post about how to make a tile generator node where each cell has an individual offset, rotation, and scale. Very usefull to cover a material wit leaves or to fill a skybox with stars! Really handy for a lot of materials, hope its usefull to anyone: