fixed shadow estimation. Now, we just need to factor out the sky mask.