np.log, np.exp, np.sum will generate python function calls

use "cython -a" to spot the yellow lines

am i right suspecting that this cython code is not much faster than plain python/numpy?