Electromagnetic Analysis Of Bidirectional Reflectance From Roughened Surfaces And Applications To Surface Shape Recovery