changes (mainly input check) for lauchli, lehmer, lesp, lotkin, minij, moler, and neumann