started templating adaptive pce basis indices in test_regression