testing prog for view and iterator combination on arma::cube