removed some dead code from hull.h
minor code rearrangement