small rhessi refactor. use a for-loop to obey DRY.
Merge pull request #844 from derdon/rhess-refactor

small rhessi refactor. use a for-loop to obey DRY.