Add 'modf' method
Add `rem` method
Add `max` and `min` methods, fix export issue