MAIA Neural Network: An Application to the Railway Anti-Skating System