A Library for Multi-Layered Perceptrons