make_barrier_grid_2d function

Make a grid for calculating barriers for 2d landscapes