Made frac() more accurate
Made frac() more accurate

-Made frac() more accurate by removing modulo (which turned out to lead
to completely inaccurate results in some cases)
-Removed sawtooth() function, because let's be honest, who would ever
use that over frac() in the first place
-Added rounding to decimal_to_fixed16(), thus making the result more
accurate and what you'd expect

RPGHacker/SMW-Workspace,RPGHacker/SMW-Workspace