added polygon center function to ed.tu
attempted integration of kd.tu

segmentation violation - no clue how to fix this