improve time estimation function
convert to Python3 print function calls
update shebang and copyright
use str.format() instead of deprecated formatting