update readability; replaced calc.linProb()