Finished implementing ips Calc.