implemented the write_reward_label
no segfault anymore but we get now:
mapa2lts-dist, ** error **: Attempt to reverse engineer 0.000000 failed