It looks like you made an error in the pivoting operation. Are you adding or subtracting Row 1?