Miscellaneous for the geometry
Layers are now automatically sorted by z positions.
Layer IDs are now automatically set in the geometry, following an increasing order by z positions.
Added a method to returns layers in a given z range.
Added methods to returns the max and min x, y coordinates of the layers.