Update geometry.c