change name of error estimation closure, for clarity
move bulk ops on double var bags to Var.scala and add test for them