Pulled flipImage out of nearestNeighbour. Closes #132
Merge pull request #151 from tsherif/flip-image

Pulled flipImage out of nearestNeighbour. Closes #132