Tools for working with points and intervals

WWW: https://github.com/edzer/intervals
