Fixed precision control bug in nrand