fixed convertC3C4 and convertC4C3 functions in case cols == 1