Bugfix in map_2d.m

When saving the .txt-file, I used the wrong index order.