Moved the CalcCheckSum

Moved CalcCheckSum to the beginning of the Command function in the
ScannerSend class for mroe efiiciency.