Fixes get_timer()

-Fixes get_timer() so it updates the exact moment the function is called
and not only between steps. Useful for benchmarking. Additional changes
comming.