Initialise elements of array

ar7_initb
ar7_initr

Pad dimensions array to 7D

ar7_pad