Update allhcalc.py

Wave length if statements fixed.