Formating point.
Handling exceptions so we can see the data prior to a crash.
Fixing number format.
New function to calculate CDF of BGD of triangles and polygons.