Merge pull request #2736 from RosettaCommons/ramyarangan/partition I've addressed Sergey's comments, and this passes all necessary tests