optimizing ARMA and ARMO methods
code optimized for speed and memory usage
deleted unused imports