calc_rugosity function

Calculate rugosity and other higher level complexity metrics