CalculateRfromCorrelation function

Calculates ra and rb from Correlation