Artifical neural networks training module of the April toolkit (A Pattern Recognizer In Lua toolkit)