one hot encoding to boolean features