Second version of the python code in order to generate the flat punch indenter. It seems to be working but more test are necessary.