Now AR functions work thanks to spectrum package