[OPTI] Magnitude.
Don't calculate the magnitute every minute. Only when needed, save the last accel instead
Merge pull request #3 from Belphemur/master

[OPTI] Magnitude.