Adding JGeometry extended class so that static variables contained within JGeometry can be reset based on multiple threads.