updated fswig_hklgen.py