spGetStates function

Spatial wrapper - Extracts states that intersect a boundary.