added basic geometry routines
added basic geometry routines
---