calculates Si & O nn arrays for the surface! yippie