Added a debug class to seperate small debug functions. Probability
functions are implemented but not tested. Everything up until the ratio
calculation is stable. The only issue is that there what looks like
round off errors in the feature calculation.