Matrix multiplication and 2-valued datapoints