Simulation of hysteresis loops for a superconductor using neural networks with Kalman filtering