Created LED class to update and predict position.