Montana rape case: Was 31-day sentence for teacher illegal?