Added randomized hopfield gamma-type problem to aid in tuning gamma.