Fixed bug in calculation of concentration sensor on CPU.