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.
could you separate into header and cpp ?