Fixed bug in sign of applied current.