Fixing weights in ZDefinitionWorkspace

Also fixing the names of variables; the names in the strings should be
the name given in the constructor, not the name of the variable holding
the object.