Defined gas behavior, implemented get_distance_from_surface method instead of using distances measured from centers.