Added tool to measure function performance mixgene.util.log_timing.