MATLAB script used to calculate the inscribed radii