Bugfix: halo.c, oPDF.py

halo.c: safeguard against forbidden parameters in decodehalo()
oPDF.py: L2 to L in gen_bin.