Fixed a bug in math.rect_intersect. Made standardize.rect_to_* take objects too, since objects are rectifiable.