Add a new example to generate fake PET (2D series)
Minor code cleanup
Fix an issue with generation of PET Image Storage Series

As reported on the ML by Nick Patterson