[PATCH] math: Add fmod implementation

Works for me. Let me know when that gets committed and I can either do v3 or if you write it I'll take a look at the patch.

--Aaron