Updated log-return and rand-uniform.