Improve ST_Area and ST_Boundary

@mlecoeuvre Please see these corrections.
Improve ST_Centroid

@mlecoeuvre Please see these corrections.
Improve ST_Dimension

@mlecoeuvre Please see these corrections.