Constructor of Form changed (construct the vector of training set images) and function noOfImages added to tools.ccp