moran function

Computes Moran's I correlation index