Fixed the noise worker to return an int instead of a pointer to int