Add df to 3darray xform; refine basic jagsmod