Adding LinearSpatialIndex and unit tests.