fixed little bugs

findWells can now be used with debug=0
make reference image previously generated an inversed image