Fixed output with small sign change, debugging output cleanup