fixes for issue #469

made random/noise seed 0 consistent with other seed values
use randomized seed for undefined or null input
convert seed to integer

(let's try this again!)