implemented (double)rngZeroToOne and (double)rngZeroToOne(unsigned int)resolution