added iostreams for gradient and model parameters
separated implementation and use them
separated itg implementation
added mpi version of itg autoencoder (but not tested)
added missed library dependency
bugfix for synchronization
additional synchronization
bugfix in mpi version: join threads and send termination flag after max derivation computation