Added extension .log to a log file
Checking of integrity of codebook and model files
Image preprocessing now perform only once (small improvement in performance)
Output to console how many images were predicted and how many of them were missed.