Fixed critical bug in lfp circular buffer.

Also fixed auto range issue.