Algorithm fixes/bugs

Made changes to the algorithm in order to return the predicted color.
Currently a bug exists that the percent chance of a color matching is
always 0. Working on fix now