Added CRC checking for SDRAM test, corrected bug in CRC block checking function