bug fix

added previousEmax and previousImageData initialization.