Return values of convolution_mask.py is changed and changes to kappa_amara.py accordingly