distribution check and correlation calculation implemented