I guess you could try putting
PORTC = 0;
in your setup() function and see if that fixes the problem.
I tried that already, but you have to set the pins to 0 or 1 (example PORTC C= B111111111; and DDRC; B111111111;
If I do this, I can't determine the settings of the pins (HIGH or LOW, INPUT or OUTPUT) on my for statement, as I did with pins 8-13. they just stay HIGH.
Is there any statement that would look like this?:
analogPin 0-5 = digitalWrite