Have bitia put timestamp in output filename

This reverts the most important change of 2cbbbf8.
gerarda: Use timestamp in filename
Fix PEP8 and other trivial issues
Fix error in usage of np.vectorize (fixes #10)