Reduced delay in sketch.
Converted raw array of data logged from sensor to integer array.