Random number from JonETMeans

This extracts the correct commits as I requested in #41.