COMP: Array versus singleton access
COMP: Array versus singleton access

Coverity reports:
CID 1103095:  Out-of-bounds access  (ARRAY_VS_SINGLETON)
Taking address with "&dim" yields a singleton pointer.

Replaced singletons with arrays of proper dimension.

Change-Id: Ic2e64d0442be12ddb6e5f95523932724f3becbf0

msmolens/ITK,vfonov/ITK,fedral/ITK,fedral/ITK,malaterre/ITK,LucHermitte/ITK,hendradarwin/ITK,zachary-williamson/ITK,fbudin69500/ITK,vfonov/ITK,richardbeare/ITK,fbudin69500/ITK,hendradarwin/ITK,hendradarwin/ITK,LucasGandel/ITK,zachary-williamson/ITK,atsnyder/ITK,malaterre/ITK,ajjl/ITK,Kitware/ITK,atsnyder/ITK,spinicist/ITK,jmerkow/ITK,fbudin69500/ITK,fbudin69500/ITK,vfonov/ITK,blowekamp/ITK,stnava/ITK,richardbeare/ITK,LucHermitte/ITK,LucasGandel/ITK,fedral/ITK,fedral/ITK,BlueBrain/ITK,LucasGandel/ITK,PlutoniumHeart/ITK,blowekamp/ITK,Kitware/ITK,msmolens/ITK,vfonov/ITK,zachary-williamson/ITK,blowekamp/ITK,jcfr/ITK,PlutoniumHeart/ITK,PlutoniumHeart/ITK,heimdali/ITK,spinicist/ITK,LucHermitte/ITK,Kitware/ITK,heimdali/ITK,zachary-williamson/ITK,biotrump/ITK,stnava/ITK,PlutoniumHeart/ITK,malaterre/ITK,LucasGandel/ITK,thewtex/ITK,heimdali/ITK,atsnyder/ITK,eile/ITK,hjmjohnson/ITK,jmerkow/ITK,ajjl/ITK,richardbeare/ITK,LucHermitte/ITK,spinicist/ITK,fbudin69500/ITK,Kitware/ITK,PlutoniumHeart/ITK,BlueBrain/ITK,biotrump/ITK,biotrump/ITK,biotrump/ITK,spinicist/ITK,spinicist/ITK,hjmjohnson/ITK,thewtex/ITK,LucHermitte/ITK,malaterre/ITK,heimdali/ITK,BRAINSia/ITK,InsightSoftwareConsortium/ITK,msmolens/ITK,LucasGandel/ITK,zachary-williamson/ITK,fedral/ITK,msmolens/ITK,thewtex/ITK,thewtex/ITK,zachary-williamson/ITK,ajjl/ITK,blowekamp/ITK,eile/ITK,stnava/ITK,Kitware/ITK,blowekamp/ITK,atsnyder/ITK,biotrump/ITK,ajjl/ITK,hendradarwin/ITK,hjmjohnson/ITK,eile/ITK,jcfr/ITK,jmerkow/ITK,BRAINSia/ITK,InsightSoftwareConsortium/ITK,richardbeare/ITK,jmerkow/ITK,vfonov/ITK,richardbeare/ITK,PlutoniumHeart/ITK,BRAINSia/ITK,hjmjohnson/ITK,BlueBrain/ITK,jmerkow/ITK,atsnyder/ITK,jmerkow/ITK,InsightSoftwareConsortium/ITK,LucHermitte/ITK,blowekamp/ITK,zachary-williamson/ITK,heimdali/ITK,spinicist/ITK,hjmjohnson/ITK,fedral/ITK,jcfr/ITK,Kitware/ITK,ajjl/ITK,BRAINSia/ITK,eile/ITK,ajjl/ITK,thewtex/ITK,zachary-williamson/ITK,BRAINSia/ITK,vfonov/ITK,hendradarwin/ITK,blowekamp/ITK,jcfr/ITK,atsnyder/ITK,hjmjohnson/ITK,heimdali/ITK,jmerkow/ITK,blowekamp/ITK,biotrump/ITK,vfonov/ITK,LucHermitte/ITK,atsnyder/ITK,stnava/ITK,heimdali/ITK,malaterre/ITK,InsightSoftwareConsortium/ITK,msmolens/ITK,jcfr/ITK,malaterre/ITK,InsightSoftwareConsortium/ITK,biotrump/ITK,fbudin69500/ITK,eile/ITK,LucHermitte/ITK,eile/ITK,BRAINSia/ITK,stnava/ITK,thewtex/ITK,jcfr/ITK,msmolens/ITK,PlutoniumHeart/ITK,richardbeare/ITK,hendradarwin/ITK,Kitware/ITK,hendradarwin/ITK,heimdali/ITK,spinicist/ITK,vfonov/ITK,eile/ITK,malaterre/ITK,PlutoniumHeart/ITK,jcfr/ITK,fbudin69500/ITK,eile/ITK,hendradarwin/ITK,jmerkow/ITK,hjmjohnson/ITK,eile/ITK,fbudin69500/ITK,ajjl/ITK,spinicist/ITK,ajjl/ITK,LucasGandel/ITK,jcfr/ITK,stnava/ITK,LucasGandel/ITK,thewtex/ITK,BRAINSia/ITK,spinicist/ITK,BlueBrain/ITK,stnava/ITK,BlueBrain/ITK,richardbeare/ITK,msmolens/ITK,vfonov/ITK,fedral/ITK,BlueBrain/ITK,fedral/ITK,LucasGandel/ITK,InsightSoftwareConsortium/ITK,atsnyder/ITK,malaterre/ITK,zachary-williamson/ITK,BlueBrain/ITK,msmolens/ITK,biotrump/ITK,stnava/ITK,BlueBrain/ITK,malaterre/ITK,InsightSoftwareConsortium/ITK,stnava/ITK,atsnyder/ITK