A self-discipline program devised by the American founder inspired a 19th-century rabbinic guide to self-improvement that is still studied in yeshivas today.