reordered functions

Wrote the beginning of a comment at the top to introduce this set of
functions, and moved create_correlation_matrix above
create_partial_correlation_matrix