added support for halfspace intersections
minor modifications to documentation and nosetests
added a unittest. minor code changes
documentation cleanup