Compile fix, geometry namespace should be there for side (in some scenarios). Numeric fix, centroid should use !equals and not !=