Moved res bin calculation to algorithm, small corrections

Refs #9689