To use the code, call the only function in opt1d.h or in opt_height_field.h.

The 1D test code is run by calling 'opt1d.py' alone or with a file / index argument:
    python opt1d.py
    python opt1d.py data/Values.txt 3

The 2D test code is run by calling 'opt_height_field.py' with an OBJ file; vertices' z coordinates are interpreted as the height field values:
    python opt_height_field.py data/regular-41-sin10x_sin10y.obj
