chiCalc bug (dev input file left in function definition)