added calculating gravity center of tumors. naive implementation