Perceptron model was updated and merging variants were added. TODO: commenting