Editet some functions. Made a raster Array