A simple implementation of a single node perceptron in Erlang.  May extend to more later.