Made interpolation work with smaller input grids to the subgrid command
Added some unit tests for the subgrid command