Convert connectivity array to integer if necessary
convert connectivity float to int if  necessary