Debug file and ScanImageFixedSize created
ScanImageFixedSize Done - need to save threshold in Cparams though
Fixed ScanImage function.

Sorry :P Didnt saw it was the master :S Igen :)
Just changed the things on the debug again :P

In my branch now.
Fixing problems.... :S