HYP smearing problem

I have been trying to write a module to give my hyp smeared gauge configurations for one excluded_direction (fictitious time direction), I tried by some trial and error; but even after getting sensible results ; I have decided to thoroughly check the code and make some changes.

The original_hyp_code has to be edited.