Replaced bc calc with python calc.