Adding Matlab code to combine permits at the same address