code: function(theta) {
              while (theta < 0) {
                  theta += mathUtils.TWO_PI;
              }
              return this.sinLUT[((theta * this.rad2deg) + this.quadrant) % this.period];
          }
docs: Calculate cosine for the passed in angle in radians.
  
  @param theta
  @return cosine value for theta