added clustering support still in progress
added tests for geom module