changed problem in to_SpatialPoints
Several Changes:  1) changed all population_graph to popgraph, 2) fixed problem with potential for poor estimation of SRI and thus NaN in log(1-SRI^2), 3) many little fixes