Changed where tot_cycles is aumented
Fixed bad order of writting arguments with two arguments instrucctions