Fixed the goddamn minus in the equation. Now it works!