SAPA function

Calculates surface area to planar area rugosity