ResidStat:

--------------------------------------------------------------------------
   Computes and displays residual statistics
--------------------------------------------------------------------------
   Form:
   ResidStat( dAngles,cWidths,sunAngle,hSAData )
--------------------------------------------------------------------------

   ------
   Inputs - 
   ------
   dAngles   {4}       Measured and predicted dihedral angles (rads)
   cWidths   {4}       Measured and predicted chordwidths (rads)
   sunAngles {2}       Measured and predicted sun angles (rads)
   kV        {2}       Indices to valid HSA data
   hSAData  struct     Contains data and processing types for HSA measurements

   -------
   Outputs
   -------
   none

--------------------------------------------------------------------------