Tested if commutation of the current calculation was the problem. It wasnt.