public double uniformRand(){
  return (rand.nextBoolean()) ? 1.0 : -1.0;
}

public double uniformRand ( ) { return ( rand . nextBoolean ( ) ) ? 1.0 : - 1.0 ; }
uniform_rand : generate uniformly distributed random numbers 1 or - 1
