Linear and Nonlinear Extension of the Pseudo-Inverse Solution for Learning Boolean Functions | Synapse