Finished edits on LL_raw_code to deal with probabilities greater than 1 and less than 0.