added an example showing how to use the madx module directly