documented gravity, depth, and sea density extern functions