add improved method to collect the terms of the safe dot product to compute value of dependent variable