Speed optimizations to the MASK() pseudofunction and randomize_string() by using tv_usec rather than rand()