modified normalise to use 1-of-(C-1) encoding for binary-coded features