Generate random numbers and quaternions using boost