Set default value for weights and vals according to how its done in OutputFile