adding more complex functions and timing to python/fortran function comparison