Minor float point error correction for hopfield_exp1.py.