Continue fixing correlation computing method
Finish the corrinfo function. Might need testing.