fixed some floating point uncertainties in the chemistry module
GPU and CPU version converge now