Fixed a sign error in the output.