[VECGEOM-384]; Fix for Extent function.
@details : previously we are getting wrong extent values in Z direction for the polycones in which somebody defines polycone sections top to down.
This fix handle that case and change the extent values in Z direction accordingly.