6/19/14 - updated rule #5 to assign dark gray. Changed rgb calcGray and
getGrayLevel function names