Added correlation phase of cascade-correlation algorithm.
Added output phase of the cascade-correlation algorithm.
Some cleaning and refactoring in CascadeCorrelationAlgorithm.