Finish coding simplify function.
Rename for clarity
Add rgeos dependency.