added runtime checks to surfaceDistR_body intended to help fix github issue #20 ansd #23