Rubocop Code Guide Line Style fixes and stuff

My code is ready to be reviewed... sorta... some rubocop rules I think is crazy talk
Perceived complexity for cdf_inverse is too high. [10/7]