fixed 'N' bug, started speed loops, and added zeroing function