Updated plots and rm algorithm in document