11/17/14 - revised compare entropy algorithm