The Role of Carbon in Amorphous Silicon Nip Photodiode Sensors