fixed a bug in paramcalc.py