Convert connectivity array to integer

Convert connectivity array to integer using Unidata's MAMath.convert function