added the correlation omputing to the main script
stating to add a measure of success