Remove another clamp function laying in the codebase and replace it with the one in MathUtil.h.
Merge pull request #121 from lioncash/remove-clamp

Remove another clamp function laying in the codebase and replace it with the one in MathUtil.h.