Millis() not working

Probably, because the sketch was intended to be a proof of concept for not using more libraries and still have adjustable acceleration.