Finished the correlations algorithm and the copy-over old stars algorithm.