Generalized nearestNeighbor
Fixed bug in nearest neighbour.
Tightened up blendImages code. Closes #120.
Merge pull request #127 from tsherif/blending

Blending