removed variables: NZ,NY, SizeZ and SizeY, cleanup and bool flags to switch off parts of the code, random seed initialized for each processor