Using neural networks for position prediction of moving objects