prob density decimal formatting, for reference
Was randomly choosing classes before, algorithm wasn't working properly. Was an issue with the probability comparison function