Fixed error when normal vector was null in mesh creation.
Vectorized Photometric Stereo function and made it generic (any amount
of images)
Added tests.