corrected rectangle intersections, using now in AreaLight
fixed brightness terms with correct divisions
fixed bug when sampling light