Shadow3 genSourceFromSrw.py small bug corrected