Fixed the way the FCS field was calculated.
Fixed another error in the way the fcs was calculated on the mbed code.