removed unnecessary calculation in Geometry.cpp