Manual Rep Calculation

...apparently this doesn't like newly defined functions.