algorithm.setMap(mapInstance);
float[][] DEM = algorithm.call();
ShadeAlgorithm hsa = new ShadeAlgorithm();
hsa.setMap(mapInstance);
double[][] shading = hsa.call();
int mapSize = mapInstance.getWidth();
Device device = Display.getCurrent();
background = new Image(device, mapSize, mapSize);
GC gc = new GC(background);