calc_min_dist_v function

Calculate minimum distance to lateral and end walls in a V-shaped experimental tunnel