Make scatter() use (nsamples x nfeatures) matrices