updated variation_example.py to use public D3PD format.