Revise gridsample to only output sample indices (in col or row-major format).

Also setup minnaert_samp.R for the new gridsample function output format.