Moved elastixlib and transformixlib time utility functions inside classes to prevent redeclaration