A small geometry library