Make this an optimizable function with crankshaft
Merge pull request #12 from EvanCarroll/optimization

Make this an optimizable function