Renamed cgtools to genepy to match new name. DiscreteCDF and DiscreteTPF implemented.
Removed logging from tensor and simplified imports.
Merge branch 'cdf'

Merging in CDF functionality.