Cleaner microsurface intersection-data calculation code.