Fixed the configuration file
Added the scaling function which scale all the images to a predifined size
Created a ScaledImRead function which reads an input image and return a scaled version of it
Update all the callings to imread with ScaledImRead() which scale the image after the load