The arrays of permanent magnets {TAIL ~ each} have {HEAD ~ north and south poles} distributed in both longitudinal and latitudinal directions along a plane 
The arrays of permanent magnets { TAIL ~ each } have { HEAD ~ north and south poles } distributed in both longitudinal and latitudinal directions along a plane
OTH OTH OTH OTH OTH TAIL TAIL TAIL TAIL TAIL OTH HEAD HEAD HEAD HEAD HEAD HEAD HEAD HEAD OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH