Changed background counting C++ code to adapt to edges of the map.
Modified countNeighbors so cross-based counting only applies for inter-chromosomals.