Hacky attempt at only updating rpm every four teeth.