added kgw style accumulation to n-learn