Updated geometric function library