Added modified logger

Writes to a new second file with average of 5 seconds worth of
accelerometer data.
Revert "Added modified logger"

This reverts commit 5db820891be46265f2137fbb49fc6687a215add0.