fixed examples and M_in/M_out in ps_generator_viewer