Added a new macro to nx_math, nx_in_range, checks if a value is within a given range. Implemented the intersects function in nx_rect.