added more surface mesh functions
added headers to surface mesh functions
added prototype for reduce_to_2d
added function reduce_to_2d
sorted compile errors, need area function
corrected prototype errors
added SurfaceMesh header
modified patch to reflect new cpp objects