[Ad-dev] [openAD] #204: have conversion routines check the array dimensions