added functions convergence and subset.janalysis