Move dual perceptron to linear package