Added Interval and Rectangle, added YUIdoc docs