Add complexity calculator
calculate