[OPTI] Magnitude.

Don't calculate the magnitute every minute. Only when needed, save the last accel instead

A minor fix I wanted to add in the last pull request ... Just forgot to push before doing the pull request.