Added parameter to nac_lstd and nacs for frequency of updates. Was hardcoded before (oops). Also added implementation of vSGD adaptive step-size algorithm. vSGD still needs work though.