Credited Ktaeyln for her SmoothInteger class, previously was Anonymous...