question: public RotationMatrixBuilder rotateAll ( ) { for ( int i = 0 ; i < dimension - 1 ; i ++ ) { for ( int j = i + 1 ; j < dimension ; j ++ ) { Plane plane = new Plane ( i , j ) ; plane . setTheta ( PRNG . nextDouble ( 0.0 , 2.0 * Math . PI ) ) ; planes . add ( plane ) ; } } return this ; }
target:  Rotates all 2D rotation planes and assigns each a random rotation angle.