anchor.diff:  
       integer(intKi)      :: I          ! I A generic index for DO loops.
   
  -    LOGICAL     :: SWITCH  !!LOGICAL FOR COMPUTATION OF ANGLE OF ATTACK CONTRIBUTION   
  +    LOGICAL     :: SWITCH  !!LOGICAL FOR COMPUTATION OF ANGLE OF ATTACK CONTRIBUTION  
  +	
  +  
   
       ErrStat = ErrID_None
       ErrMsg  = ""
  
positive.code:     ! Determine peak strouhal numbers to be used for 'a' and 'b' curve calculations
      ST1    = .02 * M ** (-.6)																							! Eq 32 from BPM Airfoil Self-noise and Prediction paper
      ! corrected with respect to the Suzlon document Contact Pat Moriarty for further. added 4 lines below.(EB_DTU)		! Eq 34 from BPM Airfoil Self-noise and Prediction paper
      IF  (ALPSTAR .LE. 1.33)                          ST2 = ST1
      IF ((ALPSTAR .GT. 1.33).AND.(ALPSTAR .LE. 12.5)) ST2 = ST1*10.**(.0054*(ALPSTAR-1.33)**2.)
      IF (ALPSTAR .GT. 12.5)                           ST2 = 4.72 * ST1
      ST1PRIM = (ST1+ST2)/2.																								! Eq 33 from BPM Airfoil Self-noise and Prediction paper
      CALL A0COMP(RC,A0)		! compute -20 dB dropout	(returns A0)
  
negative.code:                 !--------Inflow Turbulence Noise ------------------------------------------------!
                  ! important checks to be done inflow tubulence inputs
                  IF (p%IInflow.gt.0) then
  				
                      ! Amiet's Inflow Noise Model is Calculated as long as InflowNoise is On
                      CALL InflowNoise(AlphaNoise,p%BlChord(J,I),Unoise,m%ChordAngleLE(K,J,I),m%SpanAngleLE(K,J,I),&
                          elementspan,m%rLEtoObserve(K,J,I),xd%MeanVxVyVz(J,I),xd%TIVx(J,I),m%LE_Location(3,J,I),0.050,p,m%SPLti,errStat2,errMsg2 )
                      CALL SetErrStat( ErrStat2, ErrMsg2, ErrStat, ErrMsg, RoutineName ) 
                      ! If Guidati model (simplified or full version) is also on then the 'SPL correction' to Amiet's model will be added 
                      IF ( p%IInflow .EQ. 2 )   THEN                                     
  