concentration calculations have been moved into cython.  tremendous speed up for that function.