CLA and CS Calculation Correction

This will correct the way that the program will generate the CLA and CS
correctly.