[Dist] Updated _functions and the generated grid. This is simpler and moves all .col-classes into one unified loop.