https://yii.codingforstudent.com/how-to-a-inverse-gaussiansampling-distribution-survival-guide/