https://docs.scipy.org/doc/numpy-1.10.1/reference/generated/numpy.exp.html
https://docs.scipy.org/doc/numpy/user/basics.broadcasting.html