fixed lfsr function and extracted evio header from DPM bank.