ajusted arima calculator, modified database spout for serialibility