extract_arma function

Extract underlying ARMA process.