First attempt temperature with cython