Gravar-mail: Analysis of repeat-protein folding using nearest-neighbor statistical mechanical models