an octave code for calculating intersection area of n circles