cubic geom cleanup
Removed unused functions.