Nested vectors to single vector; math type hints
make-image needs nrows and ncols; faster grid-apply

* grid-apply could be an indexed mat-map.