Had to change my variables to make the calculation work.