1. A method executable by a computer for processing data comprising a plurality of samples each having a corresponding sample value, the method comprising: selecting, by the computer, a sub-set of the plurality of samples; ordering the sample values corresponding to the samples in the sub-set into a first vector, the ordering of the sample values comprising assigning a sample value corresponding to a first sample of the sample values to a first position in the first vector; reordering the sample values corresponding to the samples in the sub-set into a second vector that is different from the first vector, the reordering of the sample values comprising assigning the sample value corresponding to the first sample to a second position in the second vector different from the first position; computing, by the computer, a scalar product of the first vector and the second vector such that the sample values in the first vector are multiplied with sample values corresponding to different samples as reordered into the second vector; and providing an output based upon the product from the computer.