Statistics for Firmware Design and Testing for Data Handling and Control of Time Delay Integration Image Sensors in an Earth Observation Payload