Moved some functions to geometric_utils.
deleted old files.