Define center of Gravity for complicated element

Yeah sorry, I realized that once I got to looking at the code more.
Thanks again!