finalized sample processing routines... on to BRDF calculation!