Edited redundancies in CamPos and LightPos code