Fix to incorrect gap used in single track encoder

.Added_angle didn't need to be inside the loop as it doesn't change and was being calculated incorrectly as well. It needs to be 2 times the number of cutouts + 1 not just the number of cutouts + 1 wide.