Added mask option to J_integral to exclude atoms from J_integral calculation.