Feature/is simple

First complement implementation of is_valid/is_simple for all geometries.
Is this macro necessary?