Extended addcyclic to arbitrary dimensions.

n-dimensional arrays can be passed to addcyclic, provided that longitude is the last (right-most) dimension.