Finished f (distribution function), now working on alternative methods of finding mathcalG