calculateLocalI function

Computing the Local Moran's I