Add the basic math utility methods which will be used for unreachable
area. These methods have been unit tested.