Updated equation to match wikipedia example

it works!