Fixed broadcasting bug by flattening label arrays.  Added maxiter parameter to cnd arguments list.