slight change to sampleValue(s). discrete.names now only effects discrete params, not logicals anymore