fixes bugs

 - adds missed variables to lag (ainr, avmdia)
 - removes latent_sd from ivars in setup.R