triangle_surface_area() function for calculating triangle areas in 2D or
3D. Accepts a matrix with 2 or 3 columns; for 2D input, z coordinates default
to zero. This provides a general interface for triangle area calculations
without the signed area semantics of triangle_area().Now use cpp11.
Added C++ versions of triangle and polygon area.
Begin conversion to C++ headers capability.