Addressing reviewers comments: implement VectorTransformer interface, use Statistics.chiSqTest