Clipped weighted updating

Weight updating is now clipped to [-threshold, threshold]
on code for both fermi/kepler architectures
The threshold is currently hardwired to 0.1 to match BBN paper.
do we need this tmp variable ? can it be sth like this ?
if (w > wmax) return wmax;
if (w < -wmax) return -wmax;
return w;