Made light control code consistent
Updated the code for determining angle of shooter