v1.1
replaced usage of np.exp with exp from math library
internal syntax fixes