update

public void update()

This updates the Encoder's tracked current position and previous position.